<%--
  Created by IntelliJ IDEA.
  User: eastm
  Date: 2020/11/20
  Time: 10:23 AM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>账户列表</title>
</head>
<body>
   <h1>银行账户列表</h1>
   <table border="1">
       <thead>
       <tr>
           <th>账户id</th>
           <th>账户名称</th>
           <th>账户金额</th>
       </tr>
       </thead>
       <tbody>
       <c:forEach items="${accountlist}" var="account">
           <tr>
               <td>${account.id}</td>
               <td>${account.name}</td>
               <td>${account.money}</td>
           </tr>
       </c:forEach>

       </tbody>

   </table>

</body>
</html>
